package com.cqut.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface WorkManagementMapper {
	List<Map<String, Object>> getProcesses();

	List<Map<String, Object>> getSubmission();

	List<Map<String, Object>> findWorkByLimit(@Param("competitionName") String competitionName,
			@Param("phaseName") String phaseName, @Param("competitionProcess") String competitionProcess,
			@Param("submission") String submission, @Param("start") int start, @Param("end") int end);

	long findCountByLimit(@Param("competitionName") String competitionName,
			@Param("phaseName") String phaseName, @Param("competitionProcess") String competitionProcess,
			@Param("submission") String submission, @Param("start") int start, @Param("end") int end);

}